.class public final Lcom/burstly/lib/component/ComponentState;
.super Ljava/lang/Object;
.source "ComponentState.java"


# instance fields
.field private mFullResponse:Lcom/burstly/lib/network/beans/ResponseBean;

.field private mRequestData:Lcom/burstly/lib/network/beans/RequestData;

.field private mResponseData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 47
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 48
    return-void
.end method

.method public constructor <init>(Lcom/burstly/lib/network/beans/ResponseBean;Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;Lcom/burstly/lib/network/beans/RequestData;)V
    .locals 0
    .parameter "fullResponse"
    .parameter "responseData"
    .parameter "requestData"

    .prologue
    .line 58
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 59
    iput-object p1, p0, Lcom/burstly/lib/component/ComponentState;->mFullResponse:Lcom/burstly/lib/network/beans/ResponseBean;

    .line 60
    iput-object p2, p0, Lcom/burstly/lib/component/ComponentState;->mResponseData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    .line 61
    iput-object p3, p0, Lcom/burstly/lib/component/ComponentState;->mRequestData:Lcom/burstly/lib/network/beans/RequestData;

    .line 62
    return-void
.end method


# virtual methods
.method clearState()V
    .locals 1

    .prologue
    const/4 v0, 0x0

    .line 116
    iput-object v0, p0, Lcom/burstly/lib/component/ComponentState;->mFullResponse:Lcom/burstly/lib/network/beans/ResponseBean;

    .line 117
    iput-object v0, p0, Lcom/burstly/lib/component/ComponentState;->mResponseData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    .line 118
    iput-object v0, p0, Lcom/burstly/lib/component/ComponentState;->mRequestData:Lcom/burstly/lib/network/beans/RequestData;

    .line 119
    return-void
.end method

.method public getFullResponse()Lcom/burstly/lib/network/beans/ResponseBean;
    .locals 1

    .prologue
    .line 70
    iget-object v0, p0, Lcom/burstly/lib/component/ComponentState;->mFullResponse:Lcom/burstly/lib/network/beans/ResponseBean;

    return-object v0
.end method

.method public getRequestData()Lcom/burstly/lib/network/beans/RequestData;
    .locals 1

    .prologue
    .line 88
    iget-object v0, p0, Lcom/burstly/lib/component/ComponentState;->mRequestData:Lcom/burstly/lib/network/beans/RequestData;

    return-object v0
.end method

.method public getResponseData()Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;
    .locals 1

    .prologue
    .line 79
    iget-object v0, p0, Lcom/burstly/lib/component/ComponentState;->mResponseData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    return-object v0
.end method

.method setFullResponse(Lcom/burstly/lib/network/beans/ResponseBean;)V
    .locals 0
    .parameter "fullResponse"

    .prologue
    .line 95
    iput-object p1, p0, Lcom/burstly/lib/component/ComponentState;->mFullResponse:Lcom/burstly/lib/network/beans/ResponseBean;

    .line 96
    return-void
.end method

.method setRequestData(Lcom/burstly/lib/network/beans/RequestData;)V
    .locals 0
    .parameter "requestData"

    .prologue
    .line 109
    iput-object p1, p0, Lcom/burstly/lib/component/ComponentState;->mRequestData:Lcom/burstly/lib/network/beans/RequestData;

    .line 110
    return-void
.end method

.method setResponseData(Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;)V
    .locals 0
    .parameter "responseData"

    .prologue
    .line 102
    iput-object p1, p0, Lcom/burstly/lib/component/ComponentState;->mResponseData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    .line 103
    return-void
.end method

.method public toString()Ljava/lang/String;
    .locals 2

    .prologue
    .line 123
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "ComponentState [mFullResponse="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/component/ComponentState;->mFullResponse:Lcom/burstly/lib/network/beans/ResponseBean;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", mResponseData="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/component/ComponentState;->mResponseData:Lcom/burstly/lib/network/beans/ResponseBean$ResponseData;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", mRequestData="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/component/ComponentState;->mRequestData:Lcom/burstly/lib/network/beans/RequestData;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "]"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
